package org.gang.jabber;

import org.jivesoftware.smack.XMPPConnection;
import org.jivesoftware.smack.XMPPException;


/**
 * Some Gang Intelligent code
 * Please visit http://gang.dinfo.ru for more info
 *
 * @author Vitaly
 * @since 19.04.2007 1:21:47
 */
public class Testing {
    public static void main(String[] args) throws XMPPException {
        XMPPConnection connection = new XMPPConnection("localhost");
        connection.connect();        
//        connection.getAccountManager().createAccount("user", "password");
        /*Chat chat = connection.getChatManager().createChat("jsmith@jivesoftware.com", new MessageListener() {

            public void processMessage(Chat chat, Message message) {
                System.out.println("Received message: " + message);
            }
        });
        chat.sendMessage("Howdy!");*/
    }
}
